#define  _CRT_SECURE_NO_WARNINGS 1
/*
*Name:dweight2.c
*Purpose:Input lenght,width,height,calculate the dimensional weight of the box.
*Author:zzr 
*/
#include <stdio.h>

int main(void)
{
	int height, length, width, volume, weight;

	printf("Enter length of the box: ");
	scanf("%d", &length);
	printf("Enter width of the box: ");
	scanf("%d", &width);
	printf("Enter height of the box: ");
	scanf("%d", &height);
	volume = length * width * height;
	weight = (volume + 165) / 166;
	
	printf("Dimensional:%dx%dx%d\n", length, width, height);
	printf("Volume(cubic inches):%d\n", volume);
	printf("Dimensional weight(pounds):%d\n", weight);

	return 0;
}